
<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org"
      xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
<head>
    <meta charset="utf-8">
    <title>注册</title>
    <script type="text/javascript" src="/js/layui.js"></script>
    <script type="text/javascript" src="/js/jquery/jquery-3.5.1.min.js"></script>
    <link rel="stylesheet" type="text/css" href="/css/layui.css">
</head>
<body>
<div class="layui-container">
    <div class="layui-row">
        <div class="layui-col-md8 layui-col-md-offset2">
            <form class="layui-form" th:action="@{/admin/regist1}" method="post">
                <div class="layui-form-item">
                    <label class="layui-form-label">用户名:</label>
                    <div class="layui-input-block">
                        <input type="text" name="name" required lay-verify="required"
                               placeholder="请输入用户名" autocomplete="off"  class="layui-input">
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">登录名:</label>
                    <div class="layui-input-block">
                        <input type="text" name="username" required lay-verify="required"
                               placeholder="请输登录名" autocomplete="off"  class="layui-input">
                    </div>
                </div>

                <div class="layui-form-item">
                    <label class="layui-form-label">用户密码:</label>
                    <div class="layui-input-block">
                        <input type="text" name="password" required lay-verify="required"
                               placeholder="请输入用户密码" autocomplete="off"  class="layui-input">
                    </div>
                </div>


                <div class="layui-form-item">
                    <label class="layui-form-label">部门编号:</label>
                    <div class="layui-input-block">
                        <input type="text" name="department_id" required lay-verify="required|number"
                               placeholder="请输入部门编号" autocomplete="off"  class="layui-input">
                    </div>
                </div>

<!--                <div class="layui-form-item">-->
<!--                    <label class="layui-form-label">入职时间:</label>-->
<!--                    <div class="layui-input-block">-->
<!--                        <input type="text" name="entry_time" required lay-verify="required|number"-->
<!--                               placeholder="请输入入职时间" autocomplete="off"  class="layui-input">-->
<!--                    </div>-->
<!--                </div>-->
                <div class="layui-form-item">
                    <div class="layui-input-block">
                        <button class="layui-btn" lay-submit lay-filter="formDemo">立即提交</button>
                        <button type="reset" class="layui-btn layui-btn-primary">重置</button>
                    </div>
                </div>
<!--                <div class="layui-form-item">-->
<!--                    <div class="layui-input-block">-->
<!--                        -->
<!--                    </div>-->
<!--                </div>-->
            </form>
        </div>
    </div>
</div>
<script>
    layui.use('form',function(){
        var form=layui.form
    });

</script>
</body>
</html>